<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<s:head theme="ajax" />
		<title>My JSP 'setTeam.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="../css/team.css">
		<link rel="stylesheet" type="text/css" href="../css/teacher.css">
		<link rel="stylesheet" type="text/css" href="../css/content.css">
		<script type="text/javascript" src="../js/common.js"></script>
		<script type="text/javascript" src="../js/teacher.js"></script>
	</head>

	<body>
		<div id="content">
			<div id="head">
				设置审题小组
			</div>
			<div id="team_content">
				<s:form action="getTeam" method="Post" id="team" theme="simple">
					<div id="choice">
						<span> <s:label value="研究所:"></s:label> <s:select
								list="institutes" listKey="instituteNum"
								listValue="instituteName" name="institutee.instituteNum"
								onchange="submitForm('team','autidingTeam.action')"></s:select> </span>
						<span> <s:label value="用户组:"></s:label> <s:select
								list="teamClass" listKey="teamNum" listValue="teamType"
								name="teamc.teamNum" onchange="submitForm('team','autidingTeam.action')" cssStyle="*visibility:visible!important;" id="teamClass"></s:select> </span>
					</div>
					<div id="option">
						<div class="option_1">
							<s:optiontransferselect name="left"
								doubleName="teachersr.teacherNum" list="teachersl"
								listKey="teacherNum" listValue="name" doubleList="teachersr"
								doubleListKey="teacherNum" doubleListValue="name"
								addToLeftLabel="取消权限" addToRightLabel="设为成员"
								allowAddAllToLeft="false" allowAddAllToRight="false"
								allowUpDownOnLeft="false" allowUpDownOnRight="true"
								allowSelectAll="false" multiple="true" doubleMultiple="true"
								cssClass="leftTeacher" doubleCssClass="leftTeacher"
								leftTitle="研究所老师" rightTitle="小组成员" theme="ajax" 
								ondblclick="show_user_details(this)" doubleOndblclick="show_user_details(this)" cssStyle="*visibility:visible!important" doubleCssStyle="*visibility:visible!important" id="left" doubleId="right">
							</s:optiontransferselect>
						</div>
						<div>
							<s:submit value="提交"></s:submit>
						</div>
					</div>
					
				</s:form>
			</div>
		</div>
		<div>
			双击老师姓名可以查看老师详细信息,小组成员默认第一个作为小组组长
		</div>
		<%@ include file="/teacher.jsp" %>
		<div id="mask" style="display: none"></div>
	</body>
</html>
